package com.sxhalo.fsms.domain;

import java.io.Serializable;
import java.util.Date;

public class FactDeviceAlarmRule implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7603282101469553463L;

	/**
	 * 报警规则id
	 */
	private Integer id;

	/**
	 * 是否启用
	 */
	private Integer useState;

	/**
	 * 设备id
	 */
	private Integer deviceId;

	/**
	 * 变量id
	 */
	private Integer attrId;

	/**
	 * 报警类别，字典表：高高报警，大于最大值则报警；中报警、介于中间则报警；低低报警，低于最小值则报警
	 */
	private String alarmType;

	/**
	 * 报警级别
	 */
	private String alarmLevel;

	/**
	 * 报警规则名称
	 */
	private String alarmName;

	/**
	 * 最大值
	 */
	private Float maxValue;

	/**
	 * 最小值
	 */
	private Float minValue;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 删除标记
	 */
	private Integer deleteFlag;

	private String alarmReason;

	private String handleOpinions;

	private String deviceName;
	private String browseName;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUseState() {
		return useState;
	}

	public void setUseState(Integer useState) {
		this.useState = useState;
	}

	public Integer getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(Integer deviceId) {
		this.deviceId = deviceId;
	}

	public Integer getAttrId() {
		return attrId;
	}

	public void setAttrId(Integer attrId) {
		this.attrId = attrId;
	}

	public String getAlarmType() {
		return alarmType;
	}

	public void setAlarmType(String alarmType) {
		this.alarmType = alarmType == null ? null : alarmType.trim();
	}

	public String getAlarmLevel() {
		return alarmLevel;
	}

	public void setAlarmLevel(String alarmLevel) {
		this.alarmLevel = alarmLevel == null ? null : alarmLevel.trim();
	}

	public String getAlarmName() {
		return alarmName;
	}

	public void setAlarmName(String alarmName) {
		this.alarmName = alarmName == null ? null : alarmName.trim();
	}

	public Float getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(Float maxValue) {
		this.maxValue = maxValue;
	}

	public Float getMinValue() {
		return minValue;
	}

	public void setMinValue(Float minValue) {
		this.minValue = minValue;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public String getAlarmReason() {
		return alarmReason;
	}

	public void setAlarmReason(String alarmReason) {
		this.alarmReason = alarmReason;
	}

	public String getHandleOpinions() {
		return handleOpinions;
	}

	public void setHandleOpinions(String handleOpinions) {
		this.handleOpinions = handleOpinions;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getBrowseName() {
		return browseName;
	}

	public void setBrowseName(String browseName) {
		this.browseName = browseName;
	}

}